<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Loading</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .circlebox {
            width: 50px;
            height: 50px;
            /* border: 1px solid lightgreen; */
            margin: 100px;
            position: absolute;
        }
        
        .circlebox p {
            position: absolute;
            width: 3px;
            height: 15px;
            background-color: rgb(203, 209, 214);
            border-top-left-radius: 50%;
            border-top-right-radius: 50%;
            border-bottom-left-radius: 50%;
            border-bottom-right-radius: 50%;
            animation: move 1.2s infinite linear;
        }
        
        .circlebox p:nth-child(1) {
            top: 0;
            left: 23.5px;
        }
        
        .circlebox p:nth-child(2) {
            top: 17.5px;
            right: 6px;
            transform: rotate(270deg);
        }
        
        .circlebox p:nth-child(3) {
            bottom: 0;
            right: 23.5px;
        }
        
        .circlebox p:nth-child(4) {
            top: 17.5px;
            left: 6px;
            transform: rotate(270deg);
        }
        
        .circlebox:nth-of-type(2) {
            position: absolute;
            transform: rotate(30deg);
        }
        
        .circlebox:nth-of-type(3) {
            position: absolute;
            transform: rotate(60deg);
        }
        /*动画*/
        
        @keyframes move {
            0% {
                background: grey;
            }
            100% {
                background: rgb(203, 209, 214);
            }
        }
        /*延迟时间*/
        
        .circlebox:nth-of-type(1) p:nth-of-type(1) {
            animation-delay: 0.1s;
        }
        
        .circlebox:nth-of-type(2) p:nth-of-type(1) {
            animation-delay: 0.2s;
        }
        
        .circlebox:nth-of-type(3) p:nth-of-type(1) {
            animation-delay: 0.3s;
        }
        
        .circlebox:nth-of-type(1) p:nth-of-type(2) {
            animation-delay: 0.4s;
        }
        
        .circlebox:nth-of-type(2) p:nth-of-type(2) {
            animation-delay: 0.5s;
        }
        
        .circlebox:nth-of-type(3) p:nth-of-type(2) {
            animation-delay: 0.6s;
        }
        
        .circlebox:nth-of-type(1) p:nth-of-type(3) {
            animation-delay: 0.7s;
        }
        
        .circlebox:nth-of-type(2) p:nth-of-type(3) {
            animation-delay: 0.8s;
        }
        
        .circlebox:nth-of-type(3) p:nth-of-type(3) {
            animation-delay: 0.9s;
        }
        
        .circlebox:nth-of-type(1) p:nth-of-type(4) {
            animation-delay: 1.0s;
        }
        
        .circlebox:nth-of-type(2) p:nth-of-type(4) {
            animation-delay: 1.1s;
        }
        
        .circlebox:nth-of-type(3) p:nth-of-type(4) {
            animation-delay: 1.2s;
        }
    </style>
</head>

<body>
    <div>
        <div class="circlebox">
            <p></p>
            <p></p>
            <p></p>
            <p></p>
        </div>
        <div class="circlebox">
            <p></p>
            <p></p>
            <p></p>
            <p></p>
        </div>
        <div class="circlebox">
            <p></p>
            <p></p>
            <p></p>
            <p></p>
        </div>
    </div>

</body>

</html>